package com.wondertek.service.sdk.iotdh.dto.res.doorDetector;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/8/12 11:06
 */
@Data
public class ExternaSensors {
    @Schema(name = "enable", description = "使能 false-关闭； true-开启", required = false)
    private boolean enable;

    @Schema(name = "status", description = "探测器状态 0-正常； 1-告警", required = false)
    private Integer status;

    @Schema(name = "inputType", description = "外部探测器类型 Tamper-防拆； Sensor-报警输入； Keyswitch-钥匙开关", required = false)
    private String inputType;

    private PulseInfo pulseInfo;

    private KeyswitchInfo keyswitchInfo;

    @Schema(name = "type", description = "传感器接线类型 NC-常闭； NO-常开；Pulse-脉冲", required = false)
    private String type;

    @Schema(name = "alarmType", description = "报警类型 ⼊侵-Intrusion; ⽕警-Fire; 医疗救助-Medical;紧急按钮-Panic; 煤⽓-Gas;漏⽔报警-WaterLeakage", required = false)
    private String alarmType;

}
